Is it possible to use my QueryDesignView in my User Form or PopUp Form In Access - ms-access

I want advanced user to have access to the query design view so they can create, run and export their own query in my form view. and i also want back to my Form from QueryDesignView when user click a button like "Back Button"
I found only DoCmd.OpenQuery with acDesignView ---> i don't want that i expect for looking as a queryDesignView in my User Form or Pop Up ---> Is it possible?

Related

Preselect files the user send last request

My user is completing a form where he has to upload files. Now something is wrong and I send the same page again and the user don't want to fill out the whole form again, so I enter the data send in the form automaticly. This is pretty easy with textboxes and select statements, but how do you do that with the file input?

Programmatically Cancel Running Query in Access

I'm able to capture a click on a "Cancel" button while an Access Query is running. I would like to then be able to cancel the Query. Is there any way to programmatically (via VBA) cancel a running Query in Access?
Even if I could send a Ctrl-Break to cancel the Query, that would cause an error message box to pop up (with "Code Execution Has Been Interrupted"), which I don't want.

Set a Google Form's elements when a user is entering for submit

Suppose I have the following:
Spreadsheet A
and I want to show the users a different question every time they enter a form for submitting (they see only one question in the form):
Form A
But there's another more difficult catch:
The form must check with the spreadsheet data which bands are still "unrated" by this user, and only show a question for one of those bands. If the user has rated every band in the spreadsheet, then the form should only show a "There are no more bands to rate" message.
And, the submit of the responses should be in this way:
Form A Responses
Is this possible with Google Forms, App Script, etc.?
not possible with apps script. you cannot modify the form at show time.
at most you can adjust the form (during onFormSubmit) for the next user to see. thus its impossible to customize for a specific user and you can also run into timing issues even if user is not important.

Check if Report is fully formatted

We have Order DB in Access where we collect and send Order confirmation to Clients. In Order Form I click button to open Confirmation Report in Normal view. I have "Send Report" button on opened report to send it to Client in PDF format.
All works grate with small reports. Problem arrise when report has 15-20 or more pages. After some investigation I found out that at time of report load user press Send button and report simply not being fully formated and sending action just fails.
I cannot find correct event to check if report is finished formatting. It would help me to make Send button enabled true/false based on that status.
May be you can use 'OnPrint' event of the report footer's section: "event occurs after data in a report section is formatted for printing, but before the section is printed"
I solved it at last.
switched on docmd.Hourglass before button which opens the Report (button is located on Order Form) and switched off docmd.Hourglass on exit sub.
in OnClick event of "Send" button at the top did the check for MousePointer
If Screen.MousePointer = 11 Then Exit Sub
Now User is not able to start sending until all process of button on Order Form is finished. That is actualy strange but somehow it solved the issue. Thank you all for help!

How do I simply set up an alert/reminder for dates set in MS Access?

I have a database in MS Access and within it I am holding dates for expirations for SSL's. I want to set a reminder for any SSL that is soon to expire. Anyone know the easiest way to go about this?
It all depends on how you want the notification to work.
You can pop-up a form when the database opens
or at any time using a timer
or in a form event
You can build events into Outlook
You can run some script in the task manager
You can send an email using any of the above.
The easiest way to pop-up a form may be to create a form that runs when the database opens or when the menu form opens. This can be set in the start-up options. The form should be based on a query that checks for out of date records and is only made visible if there is data. You can check the recordset in the load event to see if anything is returned. This for can also use DoCmd.SendObject to send an email.