Re: Selection on MergeAll
- From: Frank Situmorang <hfsitumo2001@xxxxxxxxx>
- Date: Wed, 2 Apr 2008 03:19:01 -0700
I have checked it Albert, the field is a number type, not a text.
So what should I do , There should be no double quote?
--
H. Frank Situmorang
"Albert D. Kallal" wrote:
.
MergeAllWord ("select * from PelayanJemaat Where TahunPel= " &
lngMergeYear")
The above has a extra "quote" at the end....does the above even compile??
Remote the last trailing quote you have right after LngMergeYear" <--
remote quote.
eg:
MergeAllWord "select * from PelayanJemaat Where TahunPel= " &
lngMergeYear"
Note that if TahunPel a text type field, then you need the following with
quotes (check in the table design mode if TahanPel is number or text).
If it is a text field, then you need to surround the sql with quotes...
eg:
MergeAllWord "select * from PelayanJemaat
Where TahunPel= '" & lngMergeYear & "'"
Watch for word wrapping in the above...they should be on one line....
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@xxxxxxx
- References:
- Selection on MergeAll
- From: Frank Situmorang
- Re: Selection on MergeAll
- From: Albert D. Kallal
- Re: Selection on MergeAll
- From: Frank Situmorang
- Re: Selection on MergeAll
- From: Albert D. Kallal
- Selection on MergeAll
- Prev by Date: Re: Selection on MergeAll
- Next by Date: save records from forms in tables
- Previous by thread: Re: Selection on MergeAll
- Next by thread: Re: Selection on MergeAll
- Index(es):
Relevant Pages
|