David_Skov
Active Member
- Joined
- Jun 29, 2004
- Messages
- 267
I have an append query that adds a set of numbers to a table depending on a choice given by the user. The choice is a simple number i.e. 200409 (september 2004). I have several append queries and because of that (and my lack of VB skills) I created an access macro that handles all the append queries and finally returns the result in a report. But if the user type in wrong data it gives an error which for 'normal' users look weird.
Is there a way to make sure that the user either:
1. can't move further if the data isn't valid?
or
2. The program just exits?
I'm afraid I have to use VB which I can't
but perhaps you can help?
I have the following queries activated in the same order:
delete query 1
append query 1
Delete query 2
Append query 2
Append query 3
Append query 4
Append query 5
Append query 6
Append query 7
Append query 8
Append query 9
Append query 10
Append query 11
Append query 12
Append query 13
Finally I opens the report
Plz don't ask why I have that many append queries
In advance tx
Is there a way to make sure that the user either:
1. can't move further if the data isn't valid?
or
2. The program just exits?
I'm afraid I have to use VB which I can't

I have the following queries activated in the same order:
delete query 1
append query 1
Delete query 2
Append query 2
Append query 3
Append query 4
Append query 5
Append query 6
Append query 7
Append query 8
Append query 9
Append query 10
Append query 11
Append query 12
Append query 13
Finally I opens the report
Plz don't ask why I have that many append queries

In advance tx
