Hello together,
I try to read float and double(precision 12) Values from my Access Database. For float values it works fine, but i can't get the double values:
the table: "Achsen", column with long values: "nIndex",
column with double values: "nWert"
[code]
char *sqlquery = "SELECT nIndex...
thx xwb,
but this was not the answer of my question. think about an input statement like this one:
if(x>y){...}
with the primary_terminal "if" and
while(x>y){...}
with the primary_terminal "else"
i try to catch the error position, and give out in an error File:
stmnts: primary_terminal exp '\n' {/* read something...*/ }
| primary_terminal error '\n' {/* give out the eror line for exp */; yyerrok;}
| primary_terminal exp error {/* give out the eror line...
i try to convert:
259 to 0x103 or 771 to 0x303
by using the stringstream manipulators
int n
stringstream ss;
ss << hex << n;
cout << ss.str();
what's whrong
I found an Functions that looks like this one:
//set the N-th Bit in the Bitarray
#define BIT_SET(bit_array, N) \
((bit_array)[BIT_ELNUM(N)] |= (BIT_TYPE)1 << BIT_NUM(N))
can I implement a function as define with a return Value?
Hi,
I try to write an bool Value into a member Atribute m_Value.
m_Value is an 32 word a 32 bits,
I think that means:
unsigned short* m_Value;
or
unsigned short m_Value[32];
The Function can look like that:
void CClass::setBoolValue(bool bValue,unsigned short WordNo,unsigned short...
I try to set the data Array form the following struct
typedef enum{ DIES,DAS }MessageType;
typedef struct{MessageType type;
unsigned long data[32];
}TriggerData;
in main:
int main(int argc, char* argv[]){
TriggerData sValue...
THX ArkM
needed the position into the string, i don't know what a nonsense i've post:
char *ptr = text + 4; // Zeichen 'o'
int offset = ptr - text;
done
i try to save the adress of single char from an char*
something like this will not work
static int* m_pPagePosition;
char* &pBuffer;
m_pPagePosition = reinterpret_cast<int*>(&pBuffer); // grab address
I try to fill the m_theDefinitions atribute on class CDefinitionContainer.
the CDefinitionContainer.h
#include <iostream>
#include <string>
#include <vector>
#include "string_hasher.h" // with included <hash_set>
class CDefinition;
class CDefinitionContainer {
public...
After I read FAQ181-271, I wonder how to create a query whose criteria is looking at the form and can have other tables, the Word doc then mail merges to that query. What is [uniquefieldname]? Is it a primary key name? Such as Account#.
After I read FAQ181-28 and FAQ181-271, I wonder how to create a query whose criteria is looking at the form and can have other tables.The Word doc then mail merges to that query. What is [uniquefieldname]? Is it a primary key name? Such as Account #.
Could anyone tell me how to create a macro to open a mail merge report? I created a data entry form and used mail merge to get a report. Everytime when I use data entry form, I have to open Word first then Access form. After I finished data entry, I needed to save the form, copy a account # and...
Acturally, I already finished the mail merge and the file automatic saved in Word instead of in Access. Now I need to create a switchboard in this file. How can I do?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.