Click here to Skip to main content
15,891,855 members
Home / Discussions / Database
   

Database

 
GeneralRe: How to prevent adding a duplicate value into a table Pin
makumazan842-Sep-08 22:48
makumazan842-Sep-08 22:48 
GeneralRe: How to prevent adding a duplicate value into a table Pin
Ashfield3-Sep-08 1:22
Ashfield3-Sep-08 1:22 
Questiontext in sql Pin
dgreat12-Sep-08 12:38
dgreat12-Sep-08 12:38 
AnswerRe: text in sql Pin
Blue_Boy2-Sep-08 12:52
Blue_Boy2-Sep-08 12:52 
GeneralRe: text in sql Pin
Colin Angus Mackay3-Sep-08 5:27
Colin Angus Mackay3-Sep-08 5:27 
GeneralRe: text in sql Pin
Blue_Boy3-Sep-08 5:34
Blue_Boy3-Sep-08 5:34 
AnswerRe: text in sql Pin
Colin Angus Mackay3-Sep-08 5:28
Colin Angus Mackay3-Sep-08 5:28 
QuestionAccess code Pin
Vmchase2-Sep-08 8:56
Vmchase2-Sep-08 8:56 
Good Afternoon,

I am fairly new to access coding. I am trying to write a SQL in access that will get make a packing slip based upon the return shipping address, but if the return shipping address is null, then the shipping would be the order address.

I started with this, but it is not working

=IIf(IsNull([Returns]![Address]),[ Orders]![Addr1], [Returns]![Address])
& IIf(IsNull([Returns]![Address]),[ Orders]![Addr2],[Returns]![Address])
& IIf(IsNull([Returns]![Address]),[ Orders]![Addr3], [Returns]![Address])
& IIf(IsNull([Returns]![City]),[ Orders]![City],[Returns]![City])
& IIf(IsNull([Returns]![State]),[ Orders]![State],[Returns]![State])
& IIf(IsNull([Returns]![Zip]),[ Orders]![Zip],[Returns]![Zip])
& IIf(IsNull([Returns]![Country]),[ Orders]![Country],[Returns]![Country])
& IIf(IsNull([Returns]![Phone]),[ Orders]![Phone],[Returns]![Phone])

So, what I wanted was the person wanted to return a product, and his return address is different from his order address, So I wanted some kind of jet SQL script to say if this person put in a return address then the packaging slip would use that but if that person did not put in a return address, then it would use the order address where that return address is null.

I appreciate anyones help on this, thank you
AnswerRe: Access code Pin
Mycroft Holmes2-Sep-08 16:41
professionalMycroft Holmes2-Sep-08 16:41 
GeneralRe: Access code Pin
Vmchase3-Sep-08 4:25
Vmchase3-Sep-08 4:25 
GeneralRe: Access code Pin
Mycroft Holmes3-Sep-08 12:35
professionalMycroft Holmes3-Sep-08 12:35 
Questionhow to change timestamp of a DB in SQL Server 2005? Pin
alexyxj2-Sep-08 6:30
alexyxj2-Sep-08 6:30 
AnswerRe: how to change timestamp of a DB in SQL Server 2005? Pin
Wendelius2-Sep-08 6:52
mentorWendelius2-Sep-08 6:52 
GeneralRe: how to change timestamp of a DB in SQL Server 2005? Pin
alexyxj2-Sep-08 6:58
alexyxj2-Sep-08 6:58 
GeneralRe: how to change timestamp of a DB in SQL Server 2005? Pin
Wendelius2-Sep-08 7:03
mentorWendelius2-Sep-08 7:03 
GeneralRe: how to change timestamp of a DB in SQL Server 2005? Pin
alexyxj2-Sep-08 7:37
alexyxj2-Sep-08 7:37 
GeneralRe: how to change timestamp of a DB in SQL Server 2005? Pin
Wendelius2-Sep-08 8:18
mentorWendelius2-Sep-08 8:18 
GeneralRe: how to change timestamp of a DB in SQL Server 2005? Pin
alexyxj2-Sep-08 10:16
alexyxj2-Sep-08 10:16 
GeneralRe: how to change timestamp of a DB in SQL Server 2005? Pin
Wendelius2-Sep-08 10:30
mentorWendelius2-Sep-08 10:30 
GeneralRe: how to change timestamp of a DB in SQL Server 2005? Pin
alexyxj2-Sep-08 10:48
alexyxj2-Sep-08 10:48 
GeneralRe: how to change timestamp of a DB in SQL Server 2005? Pin
Wendelius2-Sep-08 10:49
mentorWendelius2-Sep-08 10:49 
QuestionTRIGGER ERROR (help me plz) Pin
Karan_TN2-Sep-08 2:55
Karan_TN2-Sep-08 2:55 
AnswerRe: TRIGGER ERROR (help me plz) Pin
Manas Bhardwaj2-Sep-08 4:40
professionalManas Bhardwaj2-Sep-08 4:40 
GeneralRe: TRIGGER ERROR (help me plz) Pin
Karan_TN2-Sep-08 5:51
Karan_TN2-Sep-08 5:51 
AnswerRe: TRIGGER ERROR (help me plz) Pin
Wendelius2-Sep-08 6:22
mentorWendelius2-Sep-08 6:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.