Re: Selection on MergeAll
- From: Frank Situmorang <hfsitumo2001@xxxxxxxxx>
- Date: Wed, 2 Apr 2008 04:04:00 -0700
Thanks very much Albert it works perfectly now. Your help is greatful.
--
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: save records from forms in tables
- Next by Date: Re: Subform Wants Main Form Record Updated First
- Previous by thread: Re: Selection on MergeAll
- Next by thread: Auto Fill
- Index(es):
Relevant Pages
|
Loading